package cn.edu.xmist.adapter.objectpattern;

import cn.edu.xmist.adapter.classpattern.ModelAdatee;

public class ModelTest {
    public static void main(String[] args) {
        ModelAdapter modelAdapter = new ModelAdapter(new ModelAdatee());
        System.out.println("插座转换后的电压 = " + modelAdapter.ouputMethod());
    }
}
